﻿<UserControl x:Class="Mutzl.Samples.MapApp.Flyouts.SettingsControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             DataContext="{Binding Settings,
                                   Source={StaticResource Locator}}"
             d:DesignHeight="800"
             d:DesignWidth="346"
             mc:Ignorable="d">

    <UserControl.Resources>
        <ResourceDictionary Source="../Common/ToggleSwitchStyle.xaml" />
    </UserControl.Resources>

    <Grid>
        <StackPanel>
            <ToggleSwitch Header="Sonderobjekte anzeigen" OnContent="Ein" OffContent="Aus"
                          IsOn="{Binding ShowSonderObjekte,
                                         Mode=TwoWay}"
                          Style="{StaticResource ToggleSwitchStyle}" />

        </StackPanel>


    </Grid>
</UserControl>
